package com.agann.util;

public class ROC_Util extends Util{
	
	public ROC_Util(int n) {
		super(n);
	}
	
	
	public void update(Double num) {
		if (history.size()<=n) {
			history.add(num);
		} else {
			score = num / history.pollFirst();
			history.add(num);
		}
	}

}
